package com.str.HT;
public class CBHTTest {
    
    public static void main(String[] args) {
        CBHT table1 = new CBHT(26);
        table1.add(new ChemicalElement("F"),  new Integer(9));
        table1.add(new ChemicalElement("Ne"), new Integer(10));
        table1.add(new ChemicalElement("Cl"), new Integer(17));
        table1.add(new ChemicalElement("Ar"), new Integer(18));
        table1.add(new ChemicalElement("Br"), new Integer(35));
        table1.add(new ChemicalElement("Kr"), new Integer(36));
        table1.add(new ChemicalElement("I"),  new Integer(53));
        table1.add(new ChemicalElement("Xe"), new Integer(54));

        System.out.println("Table1:");
        System.out.println(table1 + "\n");

        CBHT table2 = new CBHT(26);
        table2.add(new ChemicalElement("H"),  new Integer(1));
        table2.add(new ChemicalElement("He"), new Integer(2));
        table2.add(new ChemicalElement("Li"), new Integer(3));
        table2.add(new ChemicalElement("Be"), new Integer(4));
        table2.add(new ChemicalElement("Na"), new Integer(11));
        table2.add(new ChemicalElement("Mg"), new Integer(12));
        table2.add(new ChemicalElement("K"),  new Integer(19));
        table2.add(new ChemicalElement("Ca"), new Integer(20));
        table2.add(new ChemicalElement("Rb"), new Integer(37));
        table2.add(new ChemicalElement("Sr"), new Integer(38));
        table2.add(new ChemicalElement("Cs"), new Integer(55));
        table2.add(new ChemicalElement("Ba"), new Integer(56));

        System.out.println("Table2:");
        System.out.println(table2);
    }
}        